#ifndef ENCODER_TASK_H
#define ENCODER_TASK_H

#include "stdint.h"

typedef enum
{
	NOT_OPERATION = 0,
	ENCODER_DOWN = 1,
	ENCODER_LEFT  = 2,
	ENCODER_RIGHT  = 3,
	
}encoder_state_e;

typedef struct 
{
	uint8_t encoder_state;
	uint8_t timeout_left_flag;
	uint8_t timeout_right_flag;
    uint8_t buzzer_state;
	
}encoder_task_data_t;


void encoder_task(void* parameter);

#endif